package com.jz.community.moduleshopping.integralGoods.bean;

import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/6/14 15:42
 */
public class IntegralInfo {
    /**
     * _embedded : {"content":[{"id":32,"status":0,"createTime":"2018-06-14 07:59:56","updateTime":"2018-06-14 07:59:56","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/32"}}},{"id":33,"status":0,"createTime":"2018-06-14 07:59:56","updateTime":"2018-06-14 07:59:56","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/33"}}},{"id":34,"status":0,"createTime":"2018-06-14 07:59:56","updateTime":"2018-06-14 07:59:56","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/34"}}},{"id":35,"status":0,"createTime":"2018-06-14 07:59:56","updateTime":"2018-06-14 07:59:56","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/35"}}},{"id":24,"status":0,"createTime":"2018-06-14 07:59:55","updateTime":"2018-06-14 07:59:55","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/24"}}},{"id":25,"status":0,"createTime":"2018-06-14 07:59:55","updateTime":"2018-06-14 07:59:55","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/25"}}},{"id":26,"status":0,"createTime":"2018-06-14 07:59:55","updateTime":"2018-06-14 07:59:55","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/26"}}},{"id":27,"status":0,"createTime":"2018-06-14 07:59:55","updateTime":"2018-06-14 07:59:55","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/27"}}},{"id":28,"status":0,"createTime":"2018-06-14 07:59:55","updateTime":"2018-06-14 07:59:55","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/28"}}},{"id":29,"status":0,"createTime":"2018-06-14 07:59:55","updateTime":"2018-06-14 07:59:55","userId":500000,"computingMethod":0,"appId":2,"appName":"折扣","modleCode":"string","modleName":"string","integral":10000,"memo":"string","links":{"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/29"}}}]}
     * _links : {"first":{"href":"http://microservice.shoppingyizhan.com/uuc/user-integrals/page?filter=uid%3A%3A%20500000&page=0&size=10"},"prev":{"href":"http://microservice.shoppingyizhan.com/uuc/user-integrals/page?filter=uid%3A%3A%20500000&page=0&size=10"},"self":{"href":"http://microservice.shoppingyizhan.com/uuc/user-integrals/page?filter=uid%3A%3A%20500000&page=1&size=10"},"next":{"href":"http://microservice.shoppingyizhan.com/uuc/user-integrals/page?filter=uid%3A%3A%20500000&page=2&size=10"},"last":{"href":"http://microservice.shoppingyizhan.com/uuc/user-integrals/page?filter=uid%3A%3A%20500000&page=3&size=10"}}
     * page : {"size":10,"totalElements":40,"totalPages":4,"number":1}
     */

    private EmbeddedBean _embedded;
    private PageInfo page;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<ContentBean> content;

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean {
            /**
             * id : 32
             * status : 0
             * createTime : 2018-06-14 07:59:56
             * updateTime : 2018-06-14 07:59:56
             * userId : 500000
             * computingMethod : 0
             * appId : 2
             * appName : 折扣
             * modleCode : string
             * modleName : string
             * integral : 10000
             * memo : string
             * links : {"self":{"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/32"}}
             */

            private String id;
            private int status;
            private String createTime;
            private String updateTime;
            private String userId;
            private int computingMethod;
            private int appId;
            private String appName;
            private String modleCode;
            private String modleName;
            private int integral;
            private String memo;
            private String residualIntegral;
            private LinksBean links;

            public String getResidualIntegral() {
                return residualIntegral;
            }

            public void setResidualIntegral(String residualIntegral) {
                this.residualIntegral = residualIntegral;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public int getComputingMethod() {
                return computingMethod;
            }

            public void setComputingMethod(int computingMethod) {
                this.computingMethod = computingMethod;
            }

            public int getAppId() {
                return appId;
            }

            public void setAppId(int appId) {
                this.appId = appId;
            }

            public String getAppName() {
                return appName;
            }

            public void setAppName(String appName) {
                this.appName = appName;
            }

            public String getModleCode() {
                return modleCode;
            }

            public void setModleCode(String modleCode) {
                this.modleCode = modleCode;
            }

            public String getModleName() {
                return modleName;
            }

            public void setModleName(String modleName) {
                this.modleName = modleName;
            }

            public int getIntegral() {
                return integral;
            }

            public void setIntegral(int integral) {
                this.integral = integral;
            }

            public String getMemo() {
                return memo;
            }

            public void setMemo(String memo) {
                this.memo = memo;
            }

            public LinksBean getLinks() {
                return links;
            }

            public void setLinks(LinksBean links) {
                this.links = links;
            }

            public static class LinksBean {
                /**
                 * self : {"href":"http://microservice.shoppingyizhan.com/uuc/userIntegrals/32"}
                 */

                private SelfBean self;

                public SelfBean getSelf() {
                    return self;
                }

                public void setSelf(SelfBean self) {
                    this.self = self;
                }

                public static class SelfBean {
                    /**
                     * href : http://microservice.shoppingyizhan.com/uuc/userIntegrals/32
                     */

                    private String href;

                    public String getHref() {
                        return href;
                    }

                    public void setHref(String href) {
                        this.href = href;
                    }
                }
            }
        }
    }
}
